<template>
	<div>
		<el-tag size="mini" type="info" v-if="name === '已保存'">{{ name }}</el-tag>
		<el-tag size="mini" type="danger" v-else-if="name === '被退回'">{{ name }}</el-tag>
		<el-tag size="mini" type="success" v-else-if="name === '已通过'">{{ name }}</el-tag>
		<el-tag size="mini" type="primary" v-else>{{ name }}</el-tag>
	</div>
</template>

<script>
	export default {
		name: 'BFFlowStatusTag',
		props: {
			name: {
				type: String,
				default: ''
			}
		},
		data() {
			return {
			}
		},
		watch: {
		},
		mounted() {
		},
		methods: {
		}
	}
</script>

<style lang="scss" scoped>

</style>